<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>micoc</title>
    <style type="text/css">
      html,body { 
        height: 100%;
        margin: 0;
        padding: 0;
        width: 100%;
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but micoc doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      let winWidth = document.documentElement.clientWidth || document.body.clientWidth
      console.log(winWidth, 3)
  　　// 750这个数字是根据你的设计图的实际大小来的，所以值具体根据设计图的大小
      let bodyRoot = document.getElementsByTagName('html')[0]
      bodyRoot.style.fontSize = winWidth/20 + 'px'
     
    </script>
  </body>
</html>
